<%@ Register TagPrefix="cc1" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>

<%@ Page Language="c#" Inherits="PHSRAG.Insight21.Humans.WorkFlowReport" CodeFile="WorkFlowReport.aspx.cs" %>

<%@ Register TagPrefix="cc2" Namespace="Workflow.NET.Web.Report" Assembly="Workflow.NET.Web.Report" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Workflow Report</title>
    <link href="../Insight21.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <table width="100%" style="height:100%">
            <tr>
                <td>
                    <span style="white-space:nowrap">
                    <cc1:annunciator id="annunciator" runat="server"></cc1:annunciator>
						<asp:label id="submittedBy" ForeColor="DarkRed" Visible="False" runat="server"></asp:label></span>
                    <br />
                    <br />
                </td>
            </tr>
            <tr>
                <td valign="middle">
                    <table>
                        <tr>
                            <td>
                                <asp:Literal runat="server" Visible="false" ID="instruction" Text="Select a submission type and click view"></asp:Literal></td>
                            <td valign="middle">
                                <asp:DropDownList ID="submissionList" CssClass="FlatDropDown" Visible="false" DataTextField="SubmissionType"
                                    DataValueField="ExecutionId" runat="server">
                                </asp:DropDownList></td>
                            <td valign="middle">
                                <asp:ImageButton ID="view" runat="server" Visible="false" AlternateText="view" ImageUrl="~/Images/b_view.gif">
                                </asp:ImageButton>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr valign="top">
                <td>
                    <asp:Label ID="initialWFDetailsCaption" ForeColor="DarkBlue" runat="server"></asp:Label><br />
                    <asp:DataGrid ID="workFlowInitialSubmission" runat="server" Width="100%" AutoGenerateColumns="False"
                        AllowSorting="false" AllowPaging="True" CssClass="DataGrid" AllowCustomPaging="True">
                        <AlternatingItemStyle CssClass="DataGridAlternatingItem"></AlternatingItemStyle>
                        <ItemStyle CssClass="DataGridItem"></ItemStyle>
                        <HeaderStyle CssClass="DataGridHeader"></HeaderStyle>
                        <Columns>
                            <asp:BoundColumn DataField="ActionName" ReadOnly="True" HeaderText="ActionName"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Output" ReadOnly="True" HeaderText="Output"></asp:BoundColumn>
                            <asp:BoundColumn DataField="ActionType" ReadOnly="True" HeaderText="Type"></asp:BoundColumn>
                            <asp:BoundColumn DataField="ActivityDescription" HeaderText="Description"></asp:BoundColumn>
                            <asp:BoundColumn DataField="FullName" ReadOnly="True" HeaderText="User Name"></asp:BoundColumn>
                            <asp:BoundColumn DataField="UserName" HeaderText="User Id"></asp:BoundColumn>
                            <asp:BoundColumn DataField="StartedOn" ReadOnly="True" HeaderText="Execution start time">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="ExecutionEndDate" HeaderText="Execution end time"></asp:BoundColumn>
                            <asp:BoundColumn DataField="EmailDescription" HeaderText="Email"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Comments" HeaderText="Comment"></asp:BoundColumn>
                        </Columns>
                        <PagerStyle Visible="False"></PagerStyle>
                    </asp:DataGrid>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
